<form action="<?php echo $aUrl; ?>" method="post" name="adminForm">
<table class="adminlist" cellspacing="1"> 
<thead> 
<tr> 
	<th width="20">#</th> 
	<th class="title">
		<a href="javascript:void();">模型名称</a>
	</th> 
	<th width="7%" nowrap="nowrap"> 
		<a href="javascript:void();">附加表名</a>
	</th>
	<th width="3%" nowrap="nowrap"> 
		<a href="javascript:void();">状态</a>
	</th>
	<th width="1%" nowrap="nowrap"> 
		<a href="javascript:void();">ID</a>	
	</th> 
	<th width="8%" nowrap="nowrap"> 
		<a href="javascript:void();">操作</a>	
	</th> 
</tr> 
</thead>

<!-- tfoot> 
<tr> 
	<td colspan="12"> 
		<del class="container">
			<div class="pagination">
			</div>
		</del>				
	</td>
</tr> 
</tfoot -->

<tbody>
<?php foreach ($models as $key => $model) : ?>
<tr class="row<?php echo ($key%2); ?>"> 
	<td align="right"><?php echo ($key+1); ?></td> 
	<td>
		<span class="editlinktip hasTip" title="点击查看该模型的字段列表::模型名称"> 
			<a href="<?php echo $cUrl; ?>/edit&module_id=<?php echo $model->module_id; ?>"><?php echo $model->module_name; ?></a> 
		</span>
	</td>
	<td align="center"><?php echo $model->module_tblname; ?></td> 
	<td align="center">
		<?php if ($model->module_status == 'y') : ?>
		<a href="javascript:edit('<?php echo $model->module_id; ?>', 'status');" title="修改为禁用"> 
			<img src="<?php echo $adminPath; ?>/images/system/tick.png" border="0" alt="修改为禁用" />
		</a>
		<?php else : ?>
		<a href="javascript:edit('<?php echo $model->module_id; ?>', 'status');" title="修改为启用"> 
			<img src="<?php echo $adminPath; ?>/images/system/publish_x.png" border="0" alt="修改为启用" />
		</a>
		<?php endif; ?>
	</td> 
	<td align="center"><?php echo $model->module_id; ?></td> 
	<td align="center">
		<a href="<?php echo $cUrl; ?>/edit&id=<?php echo $model->module_id; ?>">修改</a> | 
		<a href="javascript:edit('<?php echo $model->module_id; ?>', 'delete');">删除</a>
	</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="id" value="0" />
<input type="hidden" name="do" value="" />
</form>